<style type ="text/css">
td {
	min-width:150px;
}
</style>
<table border='0' width="70%" cellpadding="10">
<tr>

<td>
	 <label> Full name<br /><small>Name of contact Person</small></label></td>   
      <td>
       <?php echo $data->name;?>
       </td>
</tr>


<tr>
<td>
	 <label> Email<br /><small>email id of contact Person</small></label></td>   
      <td>
       <?php echo $data->email;?>
       </td>
</tr>

<tr>
<td>
	 <label> Mobile<br /></label></th>   
      <td>
       <?php echo $data->mobile;?>
       </td>
</tr>


<tr>
<td>
	 <label> Message<br /><small>message sent by contact Person</small></label></td>   
      <td>
       <?php echo $data->message ? $data->message : 'N/A';?>
       </td>
</tr>


<tr>
<td>
	 <label> Referrer<br /><small>The page used by contact person to contact</small></label></td>   
      <td>
       <?php echo $data->referrer ? $data->referrer : 'N/A';?>
       </td>
</tr>

<tr>
<td>
	 <label> Form Type<br /><small>Contact / Datacards / Landing (DMA)</small></label></td>   
      <td>
       <?php 
       	$fType = array('1'=>'Contact','2'=>'Datacards', '3'=>'Landing(DMA)', '4'=>'Landing(Thanks Giving)');
       	echo $data->type ? $fType[$data->type] : 'N/A';
       
       ?>
      </td>
</tr>

<tr>
<td>
	 <label> Location<br /><small>Estimated Geo Location of Contact Person</small></label></td>   
      <td>
       <?php echo $data->location ? $data->location : 'N/A';?>
      </td>
</tr>


<tr>
<td>
	 <label> Date<br /><small>Contact Date</small></label></td>   
      <td>
       <?php echo date('j/m/Y', strtotime($data->created));?>
       </td>
</tr>

<tr>
<td colspan="2">
	<a class='uibutton' title="Back to contact List" href="<?php echo Yii::app()->getBaseUrl()?>/admin/contact">Back</a>
       </td>
</tr>
</table>
